package chat;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Mathias
 */

import java.io.*;
import java.util.List;

public class ChatMessage implements Serializable {
    private String chatMessage;
    private String senderName;
    private List<String> recipients;

    public ChatMessage(String chatMessage, String senderName, List<String> recipients){
        this.chatMessage = chatMessage;
        this.senderName = senderName;
        this.recipients = recipients;
    }

    public ChatMessage(){
        // empty
    }


     /**
     * @return the chatMessage
     */
    public String getChatMessage() {
        return chatMessage;
    }

    /**
     * @param chatMessage the chatMessage to set
     */
    public void setChatMessage(String chatMessage) {
        this.chatMessage = chatMessage;
    }

    /**
     * @return the senderName
     */
    public String getSenderName() {
        return senderName;
    }

    /**
     * @param senderName the senderName to set
     */
    public void setSenderName(String senderName) {
        this.senderName = senderName;
    }

    /**
     * @return the recipient
     */
    public List<String> getRecipients() {
        return recipients;
    }

    /**
     * @param recipient the recipient to set
     */
    public void setRecipients(List<String> recipients) {
        this.recipients = recipients;
    }
}
